package org.theqcp.wow.api.wowarmory.parsers.talents;

import java.util.ArrayList;

import org.theqcp.wow.model.api.ProgressListener;
import org.theqcp.wow.model.mechanics.ClassType;
import org.theqcp.wow.model.player.Talent;

public class TalentParserFactory {

	public static AbstractTalentParser createTalentParser(ClassType classType) {
		
		AbstractTalentParser atp = null;
		
		if(ClassType.SHAMAN.equals(classType)) {
			atp = new ShamanTalentParser();
		} else {
			atp = new AbstractTalentParser() {

				@Override
				public ArrayList<Talent> parse(int[] talents, ProgressListener listener) {
					return new ArrayList<Talent>();
				}
				
			};
		}
		
		return atp;
		
	}
	
}
